//
//  ShowImage.h
//  7.13苏宁框架
//
//  Created by lovena on 15/7/18.
//  Copyright (c) 2015年 lovena. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ShowScrollModel.h"
#import "ShopModel.h"
@class ShowImage;
@protocol ShowImageDelegate <NSObject>

-(void)addBuys:(ShopModel *)model;

@end
@interface ShowImage : UIView
@property (weak, nonatomic) IBOutlet UIImageView *showImageView;//图片
@property (weak, nonatomic) IBOutlet UIButton *btn;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;//名字
@property (weak, nonatomic) IBOutlet UILabel *priceLabel;//价钱
@property(nonatomic,copy)NSString *url;
@property(nonatomic,retain)ShowScrollModel *model;
- (IBAction)buyedBtn;//测试购买
+(id)showImage;
@property(nonatomic,weak)id<ShowImageDelegate>delegate;
@end
